package com.apress.prospring5.ch5;

import com.apress.prospring5.ch2.common.Guitar;
import com.apress.prospring5.ch2.common.Singer;

public class Guitarist implements Singer {
    @Override
    public void sing() {
        System.out.println("Dream of ways to throw it all way.");
    }

    @AdviceRequired
    public void sing(Guitar guitar){

        System.out.println("play: "+guitar.play());
    }
    public void reset(){
        System.out.println("zzz");
    }
}
